package com.ayoka.parenting.bean;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

/**
 * Created by jinchunping on 2019/1/29.
 */

public class BaseResponse<T> {

    public int errcode;
    public String errmsg;
    public T data;

    @Override
    public String toString() {
        Gson gson = new GsonBuilder().create();
        return gson.toJson(this);
    }
}
